.....................


void SMG_Dis(unsigned char addr,unsigned char flag,unsigned char point)
{
	InitHC573(6);
	P0 = 0xff;
	InitHC573(0);
	InitHC573(7);
	P0 = 0x01<<addr;
	InitHC573(0);
	InitHC573(6);
	P0 = SMG[flag];

	if(point != 0)
	{
		P0 |= 0x7f;
	
	}
	
InitHC573(0);
}